import require from "@/utils/require";
export function getLogin(data:{}){
    return require({
        method:'post',
        url:'/v1/login',
        data
    })
}
export function getList(){
    return require({
        method:'get',
        url:'/users/foo',
    })
}
export function getAdd(data:{}){
    return require({
        method:'post',
        url:'/users/bar',
        data
    })
}
export function getUpd(data:{}){
    return require({
        method:'post',
        url:'/users/upd',
        data
    })
}
export function getDel(data:any){
    return require({
        method:'post',
        url:'/users/del',
        data
    })
}